package au.edu.swin.swinvehicle.vehicle;

/**
 * Vehicle tranfer object. This is the brief information of vehicle.
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-10
 */
import au.edu.swin.swinvehicle.vehiclelicencetype.VehicleLicenceTypeTO;
import au.edu.swin.swinvehicle.vehicletype.VehicleTypeTO;
import java.io.Serializable;

public class VehicleTO implements Serializable {

    private Long id;
    private String name;
    private String colour;
    private VehicleTypeTO vehicleType;
    private VehicleLicenceTypeTO vehicleLicenceType;

    public VehicleTO() {
    }

    public VehicleTO(Long id, String name, String colour, VehicleTypeTO vehicleType, VehicleLicenceTypeTO vehicleLicenceType) {
        this.id = id;
        this.name = name;
        this.colour = colour;
        this.vehicleType = vehicleType;
        this.vehicleLicenceType = vehicleLicenceType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public VehicleTypeTO getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(VehicleTypeTO vehicleType) {
        this.vehicleType = vehicleType;
    }

    public VehicleLicenceTypeTO getVehicleLicenceType() {
        return vehicleLicenceType;
    }

    public void setVehicleLicenceType(VehicleLicenceTypeTO vehicleLicenceType) {
        this.vehicleLicenceType = vehicleLicenceType;
    }
}